Skip to content

MTN fix compat numpy2#35

Merged
bwohlberg merged 13 commits intobwohlberg:masterfrom
tomMoral:MTN_compat_numpy2
Jan 17, 2025
Merged

MTN fix compat numpy2#35
bwohlberg merged 13 commits intobwohlberg:masterfrom
tomMoral:MTN_compat_numpy2

Conversation

@tomMoral
Copy link
Contributor

Instantiating ConvBPDNDictLearn gives an error that np.product does not exist with the latest version of numpy.
This PR changes np.product with np.prod to improve compatibility with newest version of numpy.

@bwohlberg
Copy link
Owner

Thank you for the fix. I will try to get this merged soon.

@codecov
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.05%. Comparing base (9d10731) to head (3c206b5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
- Coverage   87.10%   87.05%   -0.05%     
==========================================
  Files          56       56              
  Lines        7625     7567      -58     
==========================================
- Hits         6641     6587      -54     
+ Misses        984      980       -4     

@bwohlberg bwohlberg merged commit a53b0aa into bwohlberg:master Jan 17, 2025
6 checks passed
@tomMoral tomMoral deleted the MTN_compat_numpy2 branch January 20, 2025 09:53
@tomMoral
Copy link
Contributor Author

Thank you very much for the quick (and much larger) fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants